package com.hao.tool.web.module.computer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hao.tool.web.module.computer.dto.ComputerDTO;
import com.hao.tool.web.module.computer.entity.ComputerInfo;

import java.util.List;


/**
 * description
 *
 * @author RuiHaoZ on GZ.cmhk
 * @date 2019-11-21 21:44
 */
public interface ComputerService extends IService<ComputerInfo> {

    ComputerInfo save(ComputerDTO dto, String userName);

    List<ComputerInfo> getByUser(String userName);
}
